import 'package:json_annotation/json_annotation.dart';
part 'kh_room_check_model.g.dart';

@JsonSerializable()
class KHRoomCheckModel {
  bool? followUserFlag;
  bool? isRoomOpenAction;
  bool? isNeedPassword;
  int? roomTemplateId;
//房间rtc类型（1是声网，2是即构）
  int? channel;
  int? rtmChannel;
//声网token
  String? rtmToken;
  String? rtcToken;
//即构token
  String? zGoToken;

  KHRoomCheckModel();
  factory KHRoomCheckModel.fromJson(Map<String, dynamic> json) =>
      _$KHRoomCheckModelFromJson(json);
  Map<String, dynamic> toJson() => _$KHRoomCheckModelToJson(this);
}
